<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
   	<title>我的课程</title>
    <meta name="decorator" content="cms_default_${fns:getConfig('site.theme')}"/>
    <meta name="description" content="河狸家教育平台" />
    <meta name="keywords" content="教育平台 在线教育 视频图文" />
    
    <link rel="stylesheet" href="${ctxStaticTheme}/css/style-tmt.css">
	<link rel="stylesheet" href="${ctxStaticTheme}/css/xunzong.css"/>
	<script type="text/javascript" src="${ctxStaticTheme}/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="${ctxStaticTheme}/js/layer.m.js"></script>
	<script type="text/javascript" src="${ctxStaticTheme}/js/common.js"></script>
    <!-- 用于我的课程页面 -->
    <script type="text/javascript">
    	
    </script>
</head>
<body>

<!---- -- -- -- -顶部导航 -- -- -- -- -- -- -- -->
<div class="xz-headerbar"  >
<a class="xz-headnavgroup xz-headnavgroup-first xz-headnavgroup-common" href="javascript:void(0);">全部课程</a><a class="xz-headnavgroup xz-headnavgroup-middle" href="javascript:void(0);" learn = "1">已学课程</a><a class="xz-headnavgroup xz-headnavgroup-end " href="javascript:void(0);" learn = "0">未学课程</a>
<!-- <div class="xz-headnav2bar" >
<c:forEach items="${fnc:getMainNavList()}" var="category" varStatus="status"><c:if test="${status.index lt 6 }"><c:choose><c:when test="${status.index == 0}"><c:set var="allId" value="${category.id}"/><script>allId = "${category.id}";</script><a class="xz-headnav2 xz-selected" categoryId="${category.id}">${category.name}</a></c:when><c:otherwise><a class="xz-headnav2" categoryId="${category.id}">${category.name}</a></c:otherwise></c:choose></c:if></c:forEach>
</div> -->
</div>
<!---- -- -- -- --底部导航 -- -- -- -- -- -- -- -->
  <div  class="xz-bottombar">
  <a class="xz-bottomnav" href="${ctx}?artisan_id=${artisan_id}&token=${token}"><span class="xz-bottomnavicon xz-bottomnavicon-classcenter"></span><span class="xz-bottomnavtext" >课程中心</span></a>
  <a class="xz-bottomnav xz-selected" href="javascript:void(0)"><span class="xz-bottomnavicon xz-bottomnavicon-myclass"></span><span class="xz-bottomnavtext" >我的课程</span></a>
  <a></a>
</div>
<!---- -- -- -- --主内容 -- -- -- -- -- -- -- -->
<div class="xz-contants">
 <div class="xz-contantend"><ul class="tmt-list tmt-list_box tmt-list_icon" id="kccontent"></ul></div>
 <div id="infscr-loading"><img alt="Loading..." src="${ctxStaticTheme}/css/imgs/loading.gif"><span> </span></div>
</div>
<script type="text/javascript" src="${ctxStaticTheme}/js/loadContent.js?1444"></script>
<script type="text/javascript">
$(document).ready(function () {
	myFlage = true;
	init('7e5107ae234b4d2082178ec36a2a1d8d');
	
	$('.xz-headnavgroup').click(function(){
		$('.xz-headnavgroup').removeClass('xz-headnavgroup-common');
		$(this).addClass('xz-headnavgroup-common');
		learn = $(this).attr('learn');
		init_nocid();
	});
	//$('.xz-headnav2').click(function(){
		//$('.xz-headnav2').removeClass('xz-selected');
	//	$(this).addClass('xz-selected');
	//	categoryId = $(this).attr('categoryId');
	//	init(categoryId);
	//});
	
	$(document).scroll(function(){
		var bottom_padding=$(document).height()-$(document).scrollTop()-$(window).height();
		if(bottom_padding<50){
			//console.log(bottom_padding);
			loadCotent();
		}
	});
});
</script>
</body>
</html>
